package lab01;

public class Test13 {
    public static void main(String[] args) {
        int i;
        int a = 0, b = 0, c = 0;
        for (i = 100; i < 1000; i++) {
            //百位数
            a = i / 100;
            //十位数
            b = i / 10 % 10;
            //个位数
             c = i % 10;
            if (i == a * a * a + b * b * b + c * c * c)
                System.out.println(i);
        }

    }

}
